//
//  BattleField.cpp
//  fingeradvanture
//
//  Created by shuaibincheng on 16/5/1.
//
//

#include "BattleField.hpp"
BattleField::BattleField(){
    
}

BattleField::~BattleField(){
    if(this->hero)
        delete this->hero;
}
void BattleField::setHero(GameHero *h)
{
    this->hero = h;
}

void BattleField::clearBattleField()
{
    if(this->hero)
        delete this->hero;
    this->hero = 0;
}